package com.example.springbootwebdemo.entity;

import lombok.Data;

import java.util.List;

/**
 * 使用lombok 实体类 自动实现setter getter
 */
@Data
public class User {
    private int id;
    private String username;
    private String password;
    private String name;
    private List<Product> products;
}
